/**
 * (C) 2005 - Boston University
 * 	Contact: Michael Ocean 

  This work is a part of the larger snBench project.  Information
  can be found at: http://csr.bu.edu/snbench

  This program is free software; you can redistribute it and/or
  modify it under the terms of Version 2 of the GNU General Public 
  License.
  
  This library is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  General Public License for more details.
  
  You should have received a copy of the GNU Library General Public
  License along with this library; if not, write to the Free
  Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
**/


package snobject;

public final class MimeTypes {
	public static String UNKNOWN = "application/unknown";
	public static String BOOLEAN = "snbench/boolean";
	public static String COMMAND = "snbench/command";
	public static String STRING = "snbench/string";
	public static String INTEGER = "snbench/integer";	
	public static String DOUBLE = "snbench/double";	
	public static String PAIR = "snbench/pair";
	public static String IMAGE = "snbench/image";
	public static String NIL = "snbench/nil";
	public static String SXE = "snbench/sxe";
	public static String STRUCT = "snbench/struct";
	public static String LONG = "snbench/long";
	
	// these are not for programming with, they are here so they
	// can be parsed and passed by the http client/server
	public static String SENSOR = "snbench/sensor";
	public static String STEPPROGRAM = "snbench/stepprogram";
	
	public static boolean match(String s){
		if(s.startsWith("snbench/"))
			return true;
		return false;
	}
}
